package com.glodon.fansi.db.dao;

import java.util.List;
import java.util.Map;

import com.glodon.fansi.db.model.User;

public interface UserMapper {
	int deleteByPrimaryKey(String id);

	int insert(User record);

	int insertSelective(User record);

	User selectByPrimaryKey(String id);
	
	User selectByAccount(String account);

	User login(Map<String, String> map);

	List<User> selectByColoum(User u);

	int updateByPrimaryKeySelective(User record);

	int updateByPrimaryKey(User record);
}